﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CanTIceCream
{
    public  class iceMetters
    {
        private static iceMetters instance;
        private iceMetters() { }
        public static iceMetters Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new iceMetters();
                }
                return instance;
            }
        }
        /// <summary>
        /// 碗
        /// </summary>
        public int IceMatter1 { get; set; } = 1;
        /// <summary>
        /// 果仁1
        /// </summary>
        public int IceMatter2 { get; set; } = 1;
        /// <summary>
        /// 果仁2
        /// </summary>
        public int IceMatter3 { get; set; } = 1;
        /// <summary>
        /// 果仁3
        /// </summary>
        public int IceMatter4 { get; set; } = 1;
        /// <summary>
        /// 果酱1
        /// </summary>
        public int IceMatter5 { get; set; } = 1;
        /// <summary>
        /// 果酱2
        /// </summary>
        public int IceMatter6 { get; set; } = 1;
        /// <summary>
        /// 果酱3
        /// </summary>
        public int IceMatter7 { get; set; } = 1;
        /// <summary>
        /// 冰淇淋机状态
        /// </summary>
        public int IceMatter8 { get; set; } = 1;
        /// <summary>
        /// 冰淇淋浆料
        /// </summary>
        public int IceMatter9 { get; set; } = 1;
    }
   
    public class deviceStatus
    {
        private static deviceStatus instance;
        private deviceStatus() { }

        public static deviceStatus Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new deviceStatus();
                }
                return instance;
            }
        }
        /// <summary>
        /// 奶茶
        /// </summary>
        public int deviceStatus1 { get; set; } = 1;
        /// <summary>
        /// 咖啡
        /// </summary>
        public int deviceStatus2 { get; set; } = 1;
        /// <summary>
        /// 冰淇淋
        /// </summary>
        public int deviceStatus3 { get; set; } = 1;
        /// <summary>
        /// 小吃
        /// </summary>
        public int deviceStatus4 { get; set; } = 1;
        /// <summary>
        /// 拉花打印
        /// </summary>
        public int lhStatus { get; set; } = 1;
    }
    /// <summary>
    /// 存储物料信息和设备信息
    /// </summary>
    public class saveDeviceMatter
    {
        public string matterStatusJson { get; set; }
        public string deviceStatusJson { get; set; }
        public int deviceId { get; set; } = 3;
    }
}
